﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrewXML.Core.Data;

namespace BrewXML.Core.ViewModels
{
   public class GrainDetailPageViewModel :BaseViewModel
    {
        #region Properties

        #region GRAIN

        private GRAIN mGrain;
        public GRAIN Grain
        {
            get
            {
                return mGrain;
            }
            set
            {
                mGrain = value;
                RaisePropertyChanged("Grain");
            }
        }
        #endregion

        #region ListType

        public List<string> ListType { get; set; }
        
        #endregion

        #region ListUse

        public List<string> ListUse { get; set; }

        #endregion

        #region AllowAdd

        private bool mAllowAdd = false;
        public bool AllowAdd
        {
            get
            {
                return mAllowAdd;
            }
            set
            {
                mAllowAdd = value;
                RaisePropertyChanged("AllowAdd");
            }
        }
        #endregion

        #region EnableAppbar

        private bool mEnableAppbar = true;
        public bool EnableAppbar
        {
            get
            {
                return mEnableAppbar;
            }
            set
            {
                mEnableAppbar = value;
                RaisePropertyChanged("EnableAppbar");
            }
        }
        #endregion

        #endregion

        #region Command

       
        #endregion

        #region Constructors

        public GrainDetailPageViewModel()
        {
            ListType = new List<string>() { "Extract", "Grain", "Adjunct", "Sugar","Other"};
            ListUse=new List<string>(){"Extract", "Mashed", "Steeped","Other"};
        }
        #endregion
    }
}
